package com.wicket.okrbff.biz.service.dto.common;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @desc BffStationDto
 * @使用场景
 */
@Data
public class BffStationDto implements Serializable {

    /**
     * 岗位ID:
     */
    @ApiModelProperty("岗位ID")
    private String stationId;

    /**
     * 岗位名称:
     */
    @ApiModelProperty("岗位名称")
    private String stationName;
    /**
     * 职位ID:
     */
    @ApiModelProperty("职位ID")
    private String postId;
    /**
     * 职位名称:
     */
    @ApiModelProperty("职位名称")
    private String postName;
    /**
     * 岗位职责概述:
     */
    @ApiModelProperty("岗位职责概述")
    private String stationDutyDesc;
    /**
     * 岗位目标概述:
     */
    @ApiModelProperty("岗位目标概述")
    private String stationTargetDesc;
    /**
     * 岗位类型ID:
     */
    @ApiModelProperty("岗位类型ID")
    private String stationTypeId;
    /**
     * 岗位类型名称:
     */
    @ApiModelProperty("岗位类型名称")
    private String stationTypeName;
    /**
     * 岗位编号:
     */
    @ApiModelProperty("岗位编号")
    private String stationNumber;
    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;
    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;
    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffStationDto that = (BffStationDto) o;
      return  stationId == that.stationId&&stationName == that.stationName&&postId == that.postId&&postName == that.postName&&stationDutyDesc == that.stationDutyDesc&&stationTargetDesc == that.stationTargetDesc&&stationTypeId == that.stationTypeId&&stationTypeName == that.stationTypeName&&stationNumber == that.stationNumber&&subjectLifeCycle == that.subjectLifeCycle&&operationInductionId == that.operationInductionId&&operateTime == that.operateTime;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), stationId,stationName,postId,postName,stationDutyDesc,stationTargetDesc,stationTypeId,stationTypeName,stationNumber,subjectLifeCycle,operationInductionId,operateTime);
    }

}
